<!DOCTYPE html>




<html class="theme-next pisces" lang="zh-CN">
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">













<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">


















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">


<link href="https://fonts.loli.net/css?family=EB+Garamond:400,400i,700,700i|Noto+Serif+SC:400,500,700&display=swap&subset=chinese-simplified" rel="stylesheet">




  

<link href="//cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Markdown,latex,">





  <link rel="alternate" href="/atom.xml" title="孔明の博客" type="application/atom+xml">






<meta name="description" content="Markdown中LaTeX使用方法">
<meta name="keywords" content="Markdown,latex">
<meta property="og:type" content="article">
<meta property="og:title" content="Markdown中LaTeX编写技巧">
<meta property="og:url" content="https://gkm0120.github.io/p/12046.html">
<meta property="og:site_name" content="孔明の博客">
<meta property="og:description" content="Markdown中LaTeX使用方法">
<meta property="og:locale" content="zh-CN">
<meta property="og:updated_time" content="2021-03-31T01:38:40.145Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Markdown中LaTeX编写技巧">
<meta name="twitter:description" content="Markdown中LaTeX使用方法">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":true,"onmobile":true},
    fancybox: true,
    tabs: true,
    motion: {"enable":false,"async":false,"transition":{"post_block":"flipYIn","post_header":"perspectiveRightIn","post_body":"perspectiveLeftIn","coll_header":"perspectiveDownIn","sidebar":"perspectiveUpIn"}},
    duoshuo: {
      userId: '0',
      author: 'Author'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://gkm0120.github.io/p/12046.html">





<!-- 设置文章需要密码访问 -->
<script>
    (function(){
        if(''){
            if (prompt('请输入文章密码') !== ''){
                alert('密码错误！');
                history.back();
            }
        }
    })();
</script>

  <title>Markdown中LaTeX编写技巧 | 孔明の博客</title>

  

  








<link rel="stylesheet" href="/css/prism-tomorrow.css" type="text/css">
<link rel="stylesheet" href="/css/prism-line-numbers.css" type="text/css"></head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <!--fork me from github-->
    <a href="https://github.com/gkm0120" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewbox="0 0 250 250" style="fill:#64CEAA; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"/><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"/></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">孔明の博客</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <h1 class="site-subtitle" itemprop="description"></h1>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            Home
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
            
            Archives
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br>
            
            Search
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <div class="popup search-popup local-search-popup">
  <div class="local-search-header clearfix">
    <span class="search-icon">
      <i class="fa fa-search"></i>
    </span>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
    <div class="local-search-input-wrapper">
      <input autocomplete="off" placeholder="Searching..." spellcheck="false" type="text" id="local-search-input">
    </div>
  </div>
  <div id="local-search-result"></div>
</div>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://gkm0120.github.io/p/12046.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="戈孔明">
      <meta itemprop="description" content>
      <meta itemprop="image" content="/images/avatar.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="孔明の博客">
    </span>

    
      <header class="post-header">

        
        
          <h2 class="post-title" itemprop="name headline">Markdown中LaTeX编写技巧</h2>
        

        <div class="post-meta">
          <span class="post-time">

             

             

            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">Posted on</span>
              
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2020-04-01T21:04:57+08:00">
                2020-04-01
              </time>
            

            

            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">In</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/LaTeX/" itemprop="url" rel="index">
                    <span itemprop="name">LaTeX</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          <!--
          
          -->

          
            <span class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                <span title="Words count in article">
                  1.3k
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                <span title="Reading time">
                  7 分钟
                </span>
              
            </span>
          

          <!-- 隐藏文章内标题下，内容描述
          
          -->

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>Markdown中LaTeX使用方法</p>
<a id="more"></a>

<h1 id="Markdown中LaTeX常用语法"><a href="#Markdown中LaTeX常用语法" class="headerlink" title="Markdown中LaTeX常用语法"></a>Markdown中LaTeX常用语法</h1><h2 id="1-常用希腊字母表"><a href="#1-常用希腊字母表" class="headerlink" title="1 常用希腊字母表"></a>1 常用希腊字母表</h2><table>
<thead>
<tr>
<th>Name</th>
<th align="center">Display</th>
<th>Capital Case</th>
<th align="center">Display</th>
<th>Var Case</th>
<th align="center">Display</th>
</tr>
</thead>
<tbody><tr>
<td><code>\alpha</code></td>
<td align="center">$\alpha$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\beta</code></td>
<td align="center">$\beta$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\gamma</code></td>
<td align="center">$\gamma$</td>
<td><code>\Gamma</code></td>
<td align="center">$\Gamma$</td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\theta</code></td>
<td align="center">$\theta$</td>
<td><code>\Theta</code></td>
<td align="center">$\Theta$</td>
<td><code>\vartheta</code></td>
<td align="center">$\vartheta$</td>
</tr>
<tr>
<td><code>\mu</code></td>
<td align="center">$\mu$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\delta</code></td>
<td align="center">$\delta$</td>
<td><code>\Delta</code></td>
<td align="center">$\Delta$</td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\epsilon</code></td>
<td align="center">$\epsilon$</td>
<td></td>
<td align="center"></td>
<td><code>\varepsilon</code></td>
<td align="center">$\varepsilon$</td>
</tr>
<tr>
<td><code>\sigma</code></td>
<td align="center">$\sigma$</td>
<td><code>\Sigma</code></td>
<td align="center">$\Sigma$</td>
<td><code>\varsigma</code></td>
<td align="center">$\varsigma$</td>
</tr>
<tr>
<td><code>\pi</code></td>
<td align="center">$\pi$</td>
<td><code>\Pi</code></td>
<td align="center">$\Pi$</td>
<td><code>\varpi</code></td>
<td align="center">$\varpi$</td>
</tr>
<tr>
<td><code>\omega</code></td>
<td align="center">$\omega$</td>
<td><code>\Omega</code></td>
<td align="center">$\Omega$</td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\xi</code></td>
<td align="center">$\xi$</td>
<td><code>\Xi</code></td>
<td align="center">$\Xi$</td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\zeta</code></td>
<td align="center">$\zeta$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\chi</code></td>
<td align="center">$\chi$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\rho</code></td>
<td align="center">$\rho$</td>
<td></td>
<td align="center"></td>
<td><code>\varrho</code></td>
<td align="center">$\varrho$</td>
</tr>
<tr>
<td><code>\phi</code></td>
<td align="center">$\phi$</td>
<td><code>\Phi</code></td>
<td align="center">$\Phi$</td>
<td><code>\varphi</code></td>
<td align="center">$\varphi$</td>
</tr>
<tr>
<td><code>\eta</code></td>
<td align="center">$\eta$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\lambda</code></td>
<td align="center">$\lambda$</td>
<td><code>\Lambda</code></td>
<td align="center">$\Lambda$</td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\kappa</code></td>
<td align="center">$\kappa$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\nu</code></td>
<td align="center">$\nu$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\upsilon</code></td>
<td align="center">$\upsilon$</td>
<td><code>\Upsilon</code></td>
<td align="center">$\Upsilon$</td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\psi</code></td>
<td align="center">$\psi$</td>
<td><code>\Psi</code></td>
<td align="center">$\Psi$</td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\tau</code></td>
<td align="center">$\tau$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>\iota</code></td>
<td align="center">$\iota$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
<tr>
<td><code>o</code></td>
<td align="center">$o$</td>
<td></td>
<td align="center"></td>
<td></td>
<td align="center"></td>
</tr>
</tbody></table>
<h2 id="2-常用特殊字符表"><a href="#2-常用特殊字符表" class="headerlink" title="2 常用特殊字符表"></a>2 常用特殊字符表</h2><table>
<thead>
<tr>
<th>Name</th>
<th align="center">Display</th>
<th>Name</th>
<th align="center">Display</th>
<th>Name</th>
<th align="center">Display</th>
<th>Name</th>
<th align="center">Display</th>
</tr>
</thead>
<tbody><tr>
<td><code>\times</code></td>
<td align="center">$\times$</td>
<td><code>\div</code></td>
<td align="center">$\div$</td>
<td><code>\pm</code></td>
<td align="center">$\pm$</td>
<td><code>\mp</code></td>
<td align="center">$\mp$</td>
</tr>
<tr>
<td><code>\otimes</code></td>
<td align="center">$\otimes$</td>
<td><code>\ominus</code></td>
<td align="center">$\ominus$</td>
<td><code>\oplus</code></td>
<td align="center">$\oplus$</td>
<td><code>\odot</code></td>
<td align="center">$\odot$</td>
</tr>
<tr>
<td><code>\oslash</code></td>
<td align="center">$\oslash$</td>
<td><code>\triangleq</code></td>
<td align="center">$\triangleq$</td>
<td><code>\ne</code></td>
<td align="center">$\ne$</td>
<td><code>\equiv</code></td>
<td align="center">$\equiv$</td>
</tr>
<tr>
<td><code>\lt</code></td>
<td align="center">$\lt$</td>
<td><code>\gt</code></td>
<td align="center">$\gt$</td>
<td><code>\le</code></td>
<td align="center">$\le$</td>
<td><code>\ge</code></td>
<td align="center">$\ge$</td>
</tr>
<tr>
<td><code>\cup</code></td>
<td align="center">$\cup$</td>
<td><code>\cap</code></td>
<td align="center">$\cap$</td>
<td><code>\Cup</code></td>
<td align="center">$\Cup$</td>
<td><code>\Cap</code></td>
<td align="center">$\Cap$</td>
</tr>
<tr>
<td><code>\bigcup</code></td>
<td align="center">$\bigcup$</td>
<td><code>\bigcap</code></td>
<td align="center">$\bigcap$</td>
<td><code>\ast</code></td>
<td align="center">$\ast$</td>
<td><code>\star</code></td>
<td align="center">$\star$</td>
</tr>
<tr>
<td><code>\bigotimes</code></td>
<td align="center">$\bigotimes$</td>
<td><code>\bigoplus</code></td>
<td align="center">$\bigoplus$</td>
<td><code>\circ</code></td>
<td align="center">$\circ$</td>
<td><code>\bullet</code></td>
<td align="center">$\bullet$</td>
</tr>
<tr>
<td><code>\bigcirc</code></td>
<td align="center">$\bigcirc$</td>
<td><code>\amalg</code></td>
<td align="center">$\amalg$</td>
<td><code>\to</code></td>
<td align="center">$\to$</td>
<td><code>\infty</code></td>
<td align="center">$\infty$</td>
</tr>
<tr>
<td><code>\vee</code></td>
<td align="center">$\vee$</td>
<td><code>\wedge</code></td>
<td align="center">$\wedge$</td>
<td><code>\uplus</code></td>
<td align="center">$\uplus$</td>
<td><code>\biguplus</code></td>
<td align="center">$\biguplus$</td>
</tr>
<tr>
<td><code>\bigvee</code></td>
<td align="center">$\bigvee$</td>
<td><code>\bigwedge</code></td>
<td align="center">$\bigwedge$</td>
<td><code>\unlhd</code></td>
<td align="center">$\unlhd$</td>
<td><code>\unrhd</code></td>
<td align="center">$\unrhd$</td>
</tr>
<tr>
<td><code>\sqcap</code></td>
<td align="center">$\sqcap$</td>
<td><code>\sqcup</code></td>
<td align="center">$\sqcup$</td>
<td><code>\prec</code></td>
<td align="center">$\prec$</td>
<td><code>\succ</code></td>
<td align="center">$\succ$</td>
</tr>
<tr>
<td><code>\subset</code></td>
<td align="center">$\subset$</td>
<td><code>\supset</code></td>
<td align="center">$\supset$</td>
<td><code>\sim</code></td>
<td align="center">$\sim$</td>
<td><code>\approx</code></td>
<td align="center">$\approx$</td>
</tr>
<tr>
<td><code>\subseteq</code></td>
<td align="center">$\subseteq$</td>
<td><code>\supseteq</code></td>
<td align="center">$\supseteq$</td>
<td><code>\cong</code></td>
<td align="center">$\cong$</td>
<td><code>\doteq</code></td>
<td align="center">$\doteq$</td>
</tr>
<tr>
<td><code>\setminus</code></td>
<td align="center">$\setminus$</td>
<td><code>\mid</code></td>
<td align="center">$\mid$</td>
<td><code>\ll</code></td>
<td align="center">$\ll$</td>
<td><code>\gg</code></td>
<td align="center">$\gg$</td>
</tr>
<tr>
<td><code>\parallel</code></td>
<td align="center">$\parallel$</td>
<td><code>\Join</code></td>
<td align="center">$\Join$</td>
<td><code>\in</code></td>
<td align="center">$\in$</td>
<td><code>\notin</code></td>
<td align="center">$\notin$</td>
</tr>
<tr>
<td><code>\propto</code></td>
<td align="center">$\propto$</td>
<td><code>\neg</code></td>
<td align="center">$\neg$</td>
<td><code>\ldots</code></td>
<td align="center">$\ldots$</td>
<td><code>\cdots</code></td>
<td align="center">$\cdots$</td>
</tr>
<tr>
<td><code>\forall</code></td>
<td align="center">$\forall$</td>
<td><code>\exists</code></td>
<td align="center">$\exists$</td>
<td><code>\vdots</code></td>
<td align="center">$\vdots$</td>
<td><code>\ddots</code></td>
<td align="center">$\ddots$</td>
</tr>
<tr>
<td><code>\aleph</code></td>
<td align="center">$\aleph$</td>
<td><code>\nabla</code></td>
<td align="center">$\nabla$</td>
<td><code>\imath</code></td>
<td align="center">$\imath$</td>
<td><code>\jmath</code></td>
<td align="center">$\jmath$</td>
</tr>
<tr>
<td><code>\ell</code></td>
<td align="center">$\ell$</td>
<td><code>\partial</code></td>
<td align="center">$\partial$</td>
<td><code>\int</code></td>
<td align="center">$\int$</td>
<td><code>\oint</code></td>
<td align="center">$\oint$</td>
</tr>
</tbody></table>
<h3 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h3><table>
<thead>
<tr>
<th>Name</th>
<th align="center">Display</th>
<th>Name</th>
<th align="center">Display</th>
</tr>
</thead>
<tbody><tr>
<td><code>\triangleleft</code></td>
<td align="center">$\triangleleft$</td>
<td><code>\triangleright</code></td>
<td align="center">$\triangleright$</td>
</tr>
<tr>
<td><code>\bigtriangleup</code></td>
<td align="center">$\bigtriangleup$</td>
<td><code>\bigtriangledown</code></td>
<td align="center">$\bigtriangledown$</td>
</tr>
<tr>
<td><code>\uparrow</code></td>
<td align="center">$\uparrow$</td>
<td><code>\downarrow</code></td>
<td align="center">$\downarrow$</td>
</tr>
<tr>
<td><code>\leftarrow</code></td>
<td align="center">$\leftarrow$</td>
<td><code>\rightarrow</code></td>
<td align="center">$\rightarrow$</td>
</tr>
<tr>
<td><code>\Leftarrow</code></td>
<td align="center">$\Leftarrow$</td>
<td><code>\Rightarrow</code></td>
<td align="center">$\Rightarrow$</td>
</tr>
<tr>
<td><code>\longleftarrow</code></td>
<td align="center">$\longleftarrow$</td>
<td><code>\longrightarrow</code></td>
<td align="center">$\longrightarrow$</td>
</tr>
<tr>
<td><code>\Longleftarrow</code></td>
<td align="center">$\Longleftarrow$</td>
<td><code>\Longrightarrow</code></td>
<td align="center">$\Longrightarrow$</td>
</tr>
<tr>
<td><code>\leftrightarrow</code></td>
<td align="center">$\leftrightarrow$</td>
<td><code>\longleftrightarrow</code></td>
<td align="center">$\longleftrightarrow$</td>
</tr>
<tr>
<td><code>\Leftrightarrow</code></td>
<td align="center">$\Leftrightarrow$</td>
<td><code>\Longleftrightarrow</code></td>
<td align="center">$\Longleftrightarrow$</td>
</tr>
<tr>
<td><code>\leftharpoonup</code></td>
<td align="center">$\leftharpoonup$</td>
<td><code>\rightharpoonup</code></td>
<td align="center">$\rightharpoonup$</td>
</tr>
<tr>
<td><code>\leftharpoondown</code></td>
<td align="center">$\leftharpoondown$</td>
<td><code>\rightharpoondown</code></td>
<td align="center">$\rightharpoondown$</td>
</tr>
<tr>
<td><code>\rightleftharpoons</code></td>
<td align="center">$\rightleftharpoons$</td>
<td><code>\S</code></td>
<td align="center">$\S$</td>
</tr>
<tr>
<td><code>\nwarrow</code></td>
<td align="center">$\nwarrow$</td>
<td><code>\nearrow</code></td>
<td align="center">$\nearrow$</td>
</tr>
<tr>
<td><code>\swarrow</code></td>
<td align="center">$\swarrow$</td>
<td><code>\searrow</code></td>
<td align="center">$\searrow$</td>
</tr>
<tr>
<td><code>\triangle</code></td>
<td align="center">$\triangle$</td>
<td><code>\box</code></td>
<td align="center">$\Box$</td>
</tr>
<tr>
<td><code>\diamond</code></td>
<td align="center">$\diamond$</td>
<td><code>\diamondsuit</code></td>
<td align="center">$\diamondsuit$</td>
</tr>
<tr>
<td><code>\heartsuit</code></td>
<td align="center">$\heartsuit$</td>
<td><code>\clubsuit</code></td>
<td align="center">$\clubsuit$</td>
</tr>
<tr>
<td><code>\spadesuit</code></td>
<td align="center">$\spadesuit$</td>
<td><code>\mapsto</code></td>
<td align="center">$\mapsto$</td>
</tr>
<tr>
<td><code>\longmapsto</code></td>
<td align="center">$\longmapsto$</td>
<td><code>\hookleftarrow</code></td>
<td align="center">$\hookleftarrow$</td>
</tr>
<tr>
<td><code>\hookleftarrow</code></td>
<td align="center">$\hookleftarrow$</td>
<td><code>\hookrightarrow</code></td>
<td align="center">$\hookrightarrow$</td>
</tr>
<tr>
<td><code>\leftharpoonup</code></td>
<td align="center">$\leftharpoonup$</td>
<td><code>\rightharpoonup</code></td>
<td align="center">$\rightharpoonup$</td>
</tr>
<tr>
<td><code>\leftharpoondown</code></td>
<td align="center">$\leftharpoondown$</td>
<td><code>\rightharpoondown</code></td>
<td align="center">$\rightharpoondown$</td>
</tr>
<tr>
<td><code>\rightleftharpoons</code></td>
<td align="center">$\rightleftharpoons$</td>
<td><code>\leadsto</code></td>
<td align="center">$\leadsto$</td>
</tr>
<tr>
<td><code>\nearrow</code></td>
<td align="center">$\nearrow$</td>
<td><code>\searrow</code></td>
<td align="center">$\searrow$</td>
</tr>
<tr>
<td><code>\swarrow</code></td>
<td align="center">$\swarrow$</td>
<td><code>\nwarrow</code></td>
<td align="center">$\nwarrow$</td>
</tr>
<tr>
<td><code>\nleftarrow</code></td>
<td align="center">$\nleftarrow$</td>
<td><code>\nrightarrow</code></td>
<td align="center">$\nrightarrow$</td>
</tr>
<tr>
<td><code>\nLeftarrow</code></td>
<td align="center">$\nLeftarrow$</td>
<td><code>\nRightarrow</code></td>
<td align="center">$\nRightarrow$</td>
</tr>
<tr>
<td><code>\nleftrightarrow</code></td>
<td align="center">$\nleftrightarrow$</td>
<td><code>\nLeftrightarrow</code></td>
<td align="center">$\nLeftrightarrow$</td>
</tr>
<tr>
<td><code>\dashrightarrow</code></td>
<td align="center">$\dashrightarrow$</td>
<td><code>\dashleftarrow</code></td>
<td align="center">$\dashleftarrow$</td>
</tr>
<tr>
<td><code>\leftleftarrows</code></td>
<td align="center">$\leftrightarrows$</td>
<td><code>\Lleftarrow</code></td>
<td align="center">$\Lleftarrow$</td>
</tr>
<tr>
<td><code>\twoheadleftarrow</code></td>
<td align="center">$\twoheadleftarrow$</td>
<td><code>\leftarrowtail</code></td>
<td align="center">$\leftarrowtail$</td>
</tr>
<tr>
<td><code>\looparrowleft</code></td>
<td align="center">$\looparrowleft$</td>
<td><code>\leftrightharpoons</code></td>
<td align="center">$\leftrightharpoons$</td>
</tr>
<tr>
<td><code>\curvearrowleft</code></td>
<td align="center">$\curvearrowleft$</td>
<td><code>\circlearrowleft</code></td>
<td align="center">$\circlearrowleft$</td>
</tr>
<tr>
<td><code>\Lsh</code></td>
<td align="center">$\Lsh$</td>
<td><code>\upuparrows</code></td>
<td align="center">$\upuparrows$</td>
</tr>
<tr>
<td><code>\upharpoonleft</code></td>
<td align="center">$\upharpoonleft$</td>
<td><code>\downharpoonleft</code></td>
<td align="center">$\downharpoonleft$</td>
</tr>
<tr>
<td><code>\multimap</code></td>
<td align="center">$\multimap$</td>
<td><code>\leftrightsquigarrow</code></td>
<td align="center">$\leftrightsquigarrow$</td>
</tr>
<tr>
<td><code>\rightrightarrows</code></td>
<td align="center">$\rightrightarrows$</td>
<td><code>\rightleftarrows</code></td>
<td align="center">$\rightleftarrows$</td>
</tr>
<tr>
<td><code>\rightrightarrows</code></td>
<td align="center">$\rightrightarrows$</td>
<td><code>\rightleftarrows</code></td>
<td align="center">$\rightleftarrows$</td>
</tr>
<tr>
<td><code>\twoheadrightarrow</code></td>
<td align="center">$\twoheadrightarrow$</td>
<td><code>\rightarrowtail</code></td>
<td align="center">$\rightarrowtail$</td>
</tr>
<tr>
<td><code>\looparrowright</code></td>
<td align="center">$\looparrowright$</td>
<td><code>\rightleftharpoons</code></td>
<td align="center">$\rightleftharpoons$</td>
</tr>
<tr>
<td><code>\curvearrowright</code></td>
<td align="center">$\curvearrowright$</td>
<td><code>\circlearrowright</code></td>
<td align="center">$\circlearrowright$</td>
</tr>
<tr>
<td><code>\Rsh</code></td>
<td align="center">$\Rsh$</td>
<td><code>\downdownarrows</code></td>
<td align="center">$\downdownarrows$</td>
</tr>
<tr>
<td><code>\upharpoonright</code></td>
<td align="center">$\upharpoonright$</td>
<td><code>\downharpoonright</code></td>
<td align="center">$\downharpoonright$</td>
</tr>
<tr>
<td><code>\rightsquigarrow</code></td>
<td align="center">$\rightsquigarrow$</td>
<td></td>
<td align="center"></td>
</tr>
</tbody></table>
<table>
<thead>
<tr>
<th>Name</th>
<th align="center">Display</th>
</tr>
</thead>
<tbody><tr>
<td><code>\left( \frac{a}{b} \right)</code></td>
<td align="center">$\left( \frac{a}{b} \right)$</td>
</tr>
<tr>
<td><code>\left[ \frac{a}{b} \right]</code></td>
<td align="center">$\left[ \frac{a}{b} \right]$</td>
</tr>
<tr>
<td><code>\left \langle \frac{a}{b} \right \rangle</code></td>
<td align="center">$\left \langle \frac{a}{b} \right \rangle$</td>
</tr>
<tr>
<td><code>\left | \frac{a}{b} \right |</code></td>
<td align="center">$\left | \frac{a}{b} \right |$</td>
</tr>
<tr>
<td><code>\left \lfloor \frac{a}{b} \right \rfloor</code></td>
<td align="center">$\left \lfloor \frac{a}{b} \right \rfloor$</td>
</tr>
<tr>
<td><code>\left \lceil \frac{c}{d} \right \rceil</code></td>
<td align="center">$\left \lceil \frac{c}{d} \right\rceil$</td>
</tr>
<tr>
<td><code>\left / \frac{a}{b} \right \backslash</code></td>
<td align="center">$\left / \frac{a}{b} \right \backslash$</td>
</tr>
<tr>
<td><code>\left \uparrow \frac{a}{b} \right \downarrow</code></td>
<td align="center">$\left \uparrow \frac{a}{b} \right \downarrow$</td>
</tr>
<tr>
<td><code>\left \Uparrow \frac{a}{b} \right \Downarrow</code></td>
<td align="center">$\left \Uparrow \frac{a}{b} \right \Downarrow$</td>
</tr>
<tr>
<td><code>\left \updownarrow \frac{a}{b} \right \Updownarrow</code></td>
<td align="center">$\left \updownarrow \frac{a}{b} \right \Updownarrow$</td>
</tr>
</tbody></table>
<h2 id="3-公式语法"><a href="#3-公式语法" class="headerlink" title="3 公式语法"></a>3 公式语法</h2><ul>
<li><p>上下标<code>_ ^ , _{}^{}</code>：<br>  $$ y = x_i^{a_1^2} $$</p>
</li>
<li><p>公式中插入文本<code>\mbox{}</code>：<br>  $$ y = x^2 ; \mbox{(二次函数)} $$</p>
</li>
<li><p>公式中插入空格<code>\,  \;  \quad  \qquad</code>间隔依次变宽：<br>  $$ ab $$ $$ a,b $$ $$ a;b $$ $$ a\quad b $$ $$ a\qquad b $$</p>
</li>
<li><p>字母上方横线<code>\overline{}, \bar{}</code>：<br>  $$ \overline{xyz} \mbox{ 或 } \bar{x} $$</p>
</li>
<li><p>字母下方横线<code>\underline{}</code>：<br>  $$ \underline{ABC} $$</p>
</li>
<li><p>字母上方波浪线<code>\tilde{}, \widetilde{}</code>：<br>  $$ \tilde{A} \mbox{ 或 } \widetilde{ABC} $$</p>
</li>
<li><p>字母上方尖号^<code>\hat{}, \widehat{}</code>：<br>  $$ \hat{A} \mbox{ 或 } \widehat{ABC} $$</p>
</li>
<li><p>字母上方箭头<code>\vec{}, \overleftarrow{}, \overrightarrow{}</code>：<br>  $$ \vec{ab} \mbox{ 或 } \overleftarrow{ab} \mbox{ 或 } \overrightarrow{ab} $$</p>
</li>
<li><p>字母上方花括号<code>\overbrace{}</code>，或下方花括号<code>\underbrace{}</code>：<br>  $$ \overbrace{1+2+3} \mbox{ 或 } \underbrace{1+2+3} $$</p>
</li>
<li><p>字母上方点号<code>\dot{}, \ddot{}</code>：<br>  $$ \dot{a} \mbox{ 或 } \ddot{a} $$</p>
</li>
<li><p>省略号<code>\dots, \cdots</code><br>  $$ 1,2,\dots  \qquad  1,2,\cdots $$</p>
</li>
<li><p>积分<code>\int_{}^{}</code>：<br>  $$ \int_{-\infty}^{+\infty} f(x) \mathrm{d}x $$</p>
<p>  双重积分<code>\iint</code>：$$ \iint_{-\infty}^{+\infty} f(x,y) \mathrm{d}x \mathrm{d}y $$<br>  行内积分：$\int_{-\infty}^{+\infty} f(x) \mathrm{d}x$<br>  行内积分limits模式<code>\int\limits_{}^{}</code>：$\int\limits_{-\infty}^{+\infty} f(x) \mathrm{d}x$<br>  行内积分display模式<code>\displaystyle \int_{}^{}</code>：$\displaystyle \int_{-\infty}^{+\infty} f(x) \mathrm{d}x$</p>
<p>  圆圈积分<code>\oint</code>：$$ \oint_{-\infty}^{+\infty} $$</p>
</li>
<li><p>求和<code>\sum_{}^{}</code>：<br>  $$ \sum_{i=1}^{n} i^2 $$</p>
<p>  行内求和：$\sum_{i=1}^{n} i^2$<br>  行内求和limits模式<code>\sum\limits_{}^{}</code>：$\sum\limits_{i=1}^{n} i^2$<br>  行内求和display模式<code>\displaystyle \sum_{}^{}</code>：$\displaystyle \sum_{i=1}^{n} i^2$</p>
</li>
<li><p>求乘积<code>\prod_{}^{}</code>：<br>  $$ \prod_{i=1}^{n} a_i $$</p>
</li>
<li><p>分数<code>\frac{up}{down}</code>：<br>  $$ x_1,x_2 = \frac{b^2 \pm 4ac}{2a} $$</p>
</li>
<li><p>根号<code>\sqrt</code>：<br>  $$ r = \sqrt{x^2+y^2} $$</p>
<p>  多次根号<code>\sqrt[n]</code>： $$ x^{2/3} = \sqrt[3]{x^2} $$</p>
</li>
</ul>
<h3 id="编号"><a href="#编号" class="headerlink" title="编号"></a>编号</h3><ul>
<li><p>插入编号：<br>  使用<code>\tag</code>指令指定公式的具体编号，并使用<code>\label</code>指令埋下锚点。如<code>y=x^2 \tag{1.5a} \label{eq:test}</code>：<br>  $$ y=x^2 \tag{1.5a}\label{eq:test} $$</p>
</li>
<li><p>引用编号：<br>  使用<code>\eqref</code>指令引用前面埋下的锚点，<code>\eqref{eq:test}</code>将显示为：<br>  $$ \eqref{eq:test} $$</p>
</li>
<li><p>带圆圈的数字：<br>  ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩<br>  ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳</p>
</li>
</ul>
<h2 id="4-方程组"><a href="#4-方程组" class="headerlink" title="4 方程组"></a>4 方程组</h2><ul>
<li>左侧花括号</li>
</ul>
<div class="highlight-wrap" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" contenteditable="true" data-rel="TEX"><figure class="iseeu highlight /tex"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">\<span class="name">begin</span><span class="string">{equation}</span></span></span><br><span class="line"><span class="comment">% \begin{equation*} 加'*'去掉公式编号</span></span><br><span class="line"><span class="tag">\<span class="name">left</span></span><span class="tag">\<span class="name">{</span></span></span><br><span class="line"><span class="tag">\<span class="name">begin</span><span class="string">{aligned}</span></span>     <span class="comment">%请使用'aligned'或'align*'</span></span><br><span class="line">2x + y &amp;= 1  <span class="tag">\<span class="name">\</span></span>     <span class="comment">%加'&amp;'指定对齐位置</span></span><br><span class="line">2x + 2y &amp;= 2</span><br><span class="line"><span class="tag">\<span class="name">end</span><span class="string">{aligned}</span></span></span><br><span class="line"><span class="tag">\<span class="name">right</span></span>.</span><br><span class="line"><span class="tag">\<span class="name">end</span><span class="string">{equation}</span></span></span><br><span class="line"><span class="comment">% \end{equation*}   加'*'去掉公式编号</span></span><br><span class="line"></span><br><span class="line"><span class="comment">% 注意：在 markdown 环境下，某些特殊字符，如'\', '*'等，会首先被 markdown 语法转义，然后再被 Latex 转义。</span></span><br><span class="line"><span class="comment">% 因此有时候 '\{'需要写作'\\{'，'*'需要写作'\*'，'\\'需要写作'\\\\'等，视不同的解释环境而定</span></span><br></pre></td></tr></tbody></table></figure></div>

<div class="highlight-wrap" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" contenteditable="true" data-rel="TEX"><figure class="iseeu highlight /tex"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="formula">$$ <span class="tag">\<span class="name">begin</span><span class="string">{equation}</span></span></span></span><br><span class="line"><span class="formula"><span class="tag">\<span class="name">left</span></span><span class="tag">\<span class="name">\</span><span class="string">{</span></span></span></span><br><span class="line"><span class="formula"><span class="tag"><span class="string">\begin{aligned}</span></span></span></span><br><span class="line"><span class="formula">2x + y &amp;= 1 <span class="tag">\<span class="name">\</span></span><span class="tag">\<span class="name">\</span></span></span></span><br><span class="line"><span class="formula">2x + 2y &amp;= 2</span></span><br><span class="line"><span class="formula"><span class="tag">\<span class="name">end</span><span class="string">{aligned}</span></span></span></span><br><span class="line"><span class="formula"><span class="tag">\<span class="name">right</span></span>.</span></span><br><span class="line"><span class="formula"><span class="tag">\<span class="name">end</span><span class="string">{equation}</span></span> $$</span></span><br></pre></td></tr></tbody></table></figure></div>

<p><strong>注</strong>：如果各个方程需要在某个字符处对齐（如等号对齐），只需在所有要对齐的字符前加上 <code>&amp;</code> 符号。如果不需要公式编号，只需在宏包名称后加上 <code>*</code> 号。</p>
<ul>
<li>分情况讨论方程式</li>
</ul>
<div class="highlight-wrap" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" contenteditable="true" data-rel="TEX"><figure class="iseeu highlight /tex"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">f(x) =</span><br><span class="line"><span class="tag">\<span class="name">begin</span><span class="string">{cases}</span></span></span><br><span class="line">x^2 <span class="tag">\<span class="name">qquad</span></span> &amp; a <span class="tag">\<span class="name">gt</span></span> 0 <span class="tag">\<span class="name">\</span></span></span><br><span class="line">e^x <span class="tag">\<span class="name">qquad</span></span> &amp; a <span class="tag">\<span class="name">le</span></span> 0</span><br><span class="line"><span class="tag">\<span class="name">end</span><span class="string">{cases}</span></span></span><br></pre></td></tr></tbody></table></figure></div>

<p>$$f(x) = \begin{cases}<br>    x^2 \qquad &amp; a \gt 0 \\<br>    e^x \qquad &amp; a \le 0<br>    \end{cases} $$</p>
<p>$$ \begin{aligned}<br>    a &amp;= 1 \\<br>    bcd &amp;= 2<br>    \end{aligned} $$</p>
<script>
        document.querySelectorAll('.github-emoji')
          .forEach(el => {
            if (!el.dataset.src) { return; }
            const img = document.createElement('img');
            img.style = 'display:none !important;';
            img.src = el.dataset.src;
            img.addEventListener('error', () => {
              img.remove();
              el.style.color = 'inherit';
              el.style.backgroundImage = 'none';
              el.style.background = 'none';
            });
            img.addEventListener('load', () => {
              img.remove();
            });
            document.body.appendChild(img);
          });
      </script>

        

      
    </div>

      <!-- 相关文章推荐 -->
     

    
    
    

    <div>
          
            

          
    </div>

    

    <div>
      
        <div>
    
        <div class="read-over">-------------------本文结束 <i class="fa fa-paw"></i> 感谢您的阅读-------------------</div>
    
</div>

      
    </div>

    
      <div>
        <div class="share_reward">
  <div></div>
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>Donate</span>
  </button>
  <div id="QR" style="display: none;">

    
      <div id="wechat" style="display: inline-block">
        <img id="wechat_qr" src="/images/wechatpay.jpg" alt="戈孔明 WeChat Pay">
        <p>WeChat Pay</p>
      </div>
    

    
      <div id="alipay" style="display: inline-block">
        <img id="alipay_qr" src="/images/alipay.jpg" alt="戈孔明 Alipay">
        <p>Alipay</p>
      </div>
    

    

  </div>
</div>

      </div>
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/Markdown/" rel="tag"> <i class="fa fa-tag"></i> Markdown</a>
          
            <a href="/tags/latex/" rel="tag"> <i class="fa fa-tag"></i> latex</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/p/09543.html" rel="next" title="扫描转换算法">
                <i class="fa fa-chevron-left"></i> 扫描转换算法
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/p/21593.html" rel="prev" title="热传导方程的 Cauchy 问题">
                热传导方程的 Cauchy 问题 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
         <div data-weibo-title="分享到微博" data-qq-title="分享到QQ" data-douban-title="分享到豆瓣" class="social-share" data-disabled="qzone,google+,linkedin" data-description="Share.js - 一键分享到微博，QQ空间，腾讯微博，人人，豆瓣...">
   分享到：
</div>


      
    </div>
  </div>


          </div>
          


          

  
    <div id="gitalk-container"></div>

  





        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
      <div id="sidebar-dimmer"></div>
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            Table of Contents
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            Overview
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <a href="/">
              <img class="site-author-image" itemprop="image" src="/images/avatar.png" alt="戈孔明">
              </a>
            
              <p class="site-author-name" itemprop="name">戈孔明</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">26</span>
                  <span class="site-state-item-name">posts</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">9</span>
                  <span class="site-state-item-name">categories</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">26</span>
                  <span class="site-state-item-name">tags</span>
                </a>
              </div>
            

          </nav>

          
            <div class="feed-link motion-element">
              <a href="/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
              <!-- 为Hexo Next主题添加哈林摇特效  -->
              <a title="收藏到书签，偶尔High一下^_^" rel="alternate" class="mw-harlem_shake_slow wobble shake" href="javascript:void(0)" onclick="javascript:(    /*     * Copyright (C) 2015 Rocko (rocko.xyz) <rocko.zxp@gmail.com>     *     * Licensed under the Apache License, Version 2.0 (the 'License');     * you may not use this file except in compliance with the License.     * You may obtain a copy of the License at     *     *      http://www.apache.org/licenses/LICENSE-2.0     *     * Unless required by applicable law or agreed to in writing, software     * distributed under the License is distributed on an 'AS IS' BASIS,     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.     * See the License for the specific language governing permissions and     * limitations under the License.     */    function go() {        function c() {        var e = document.createElement('link');        e.setAttribute('type', 'text/css');        e.setAttribute('rel', 'stylesheet');        e.setAttribute('href', f);        e.setAttribute('class', l);        document.body.appendChild(e)    }     function h() {        var e = document.getElementsByClassName(l);        for (var t = 0; t < e.length; t++) {            document.body.removeChild(e[t])        }    }     function p() {        var e = document.createElement('div');        e.setAttribute('class', a);        document.body.appendChild(e);        setTimeout(function() {            document.body.removeChild(e)        }, 100)    }     function d(e) {        return {            height : e.offsetHeight,            width : e.offsetWidth        }    }     function v(i) {        var s = d(i);        return s.height > e &amp;&amp; s.height < n &amp;&amp; s.width > t &amp;&amp; s.width < r    }     function m(e) {        var t = e;        var n = 0;        while (!!t) {            n += t.offsetTop;            t = t.offsetParent        }        return n    }     function g() {        var e = document.documentElement;        if (!!window.innerWidth) {            return window.innerHeight        } else if (e &amp;&amp; !isNaN(e.clientHeight)) {            return e.clientHeight        }        return 0    }     function y() {        if (window.pageYOffset) {            return window.pageYOffset        }        return Math.max(document.documentElement.scrollTop, document.body.scrollTop)    }     function E(e) {        var t = m(e);        return t >= w &amp;&amp; t <= b + w    }     var songs = [                'http://s3.amazonaws.com/moovweb-marketing/playground/harlem-shake.mp3', 'http://www.ytmp3.cn/down/57563.mp3'  ];    function S() {        var e = document.getElementById('audio_element_id');        if(e != null){            var index = parseInt(e.getAttribute('curSongIndex'));            if(index > songs.length - 2) {                index = 0;            } else {                index++;            }            e.setAttribute('curSongIndex', index);            N();        }        e.src = i;        e.play()    }     function x(e) {        e.className += ' ' + s + ' ' + o    }     function T(e) {        e.className += ' ' + s + ' ' + u[Math.floor(Math.random() * u.length)]    }     function N() {        var e = document.getElementsByClassName(s);        var t = new RegExp('\\b' + s + '\\b');        for (var n = 0; n < e.length; ) {            e[n].className = e[n].className.replace(t, '')        }    }    function initAudioEle() {        var e = document.getElementById('audio_element_id');        if(e === null){            e = document.createElement('audio');            e.setAttribute('class', l);            e.setAttribute('curSongIndex', 0);            e.id = 'audio_element_id';            e.loop = false;            e.bgcolor = 0;            e.addEventListener('canplay', function() {            setTimeout(function() {                x(k)            }, 500);            setTimeout(function() {                N();                p();                for (var e = 0; e < O.length; e++) {                    T(O[e])                }            }, 15500)        }, true);        e.addEventListener('ended', function() {            N();            h();            go();        }, true);        e.innerHTML = ' <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>';        document.body.appendChild(e);        }    }        initAudioEle();    var e = 30;    var t = 30;    var n = 350;    var r = 350;    var curSongIndex = parseInt(document.getElementById('audio_element_id').getAttribute('curSongIndex'));    var i = songs[curSongIndex];        var s = 'mw-harlem_shake_me';    var o = 'im_first';    var u = ['im_drunk', 'im_baked', 'im_trippin', 'im_blown'];    var a = 'mw-strobe_light';    var f = 'https://rocko.xyz/css/harlem-shake-style.css';        var l = 'mw_added_css';    var b = g();    var w = y();    var C = document.getElementsByTagName('*');    var k = null;    for (var L = 0; L < C.length; L++) {        var A = C[L];        if (v(A)) {            if (E(A)) {                k = A;                break            }        }    }    if (A === null) {        console.warn('Could not find a node of the right size. Please try a different page.');        return    }    c();    S();    var O = [];    for (var L = 0; L < C.length; L++) {        var A = C[L];        if (v(A)) {            O.push(A)        }    }    })()">
        <i class="fa fa-music"></i> High~
</a>

            </div>
          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a rel="external nofollow" href="https://github.com/gkm0120" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a rel="external nofollow" href="mailto:gkm0120@163.com" target="_blank" title="E-Mail">
                      
                        <i class="fa fa-fw fa-envelope"></i>E-Mail</a>
                  </span>
                
            </div>
          

            <!--
            <div id="music163player">
                <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=1336790004&auto=1&height=66"></iframe>
            </div>
            -->

          
          
            <div class="cc-license motion-element" itemprop="license">
              <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="external nofollow" class="cc-opacity" target="_blank">
                <img src="/images/cc-by-nc-sa.svg" alt="Creative Commons">
              </a>
            </div>
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-inline">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-link"></i>
                Links&nbsp;
                <i class="fa  fa-fw fa-link"></i>
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="https://gkm0120.cn/" title="孔明の博客" rel="external nofollow" target="_blank">孔明の博客</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://hpcsiplab.hunnu.edu.cn/" title="LCSM" rel="external nofollow" target="_blank">LCSM</a>
                  </li>
                
              </ul>
            </div>
          

          <!--近期文章版块 began-->
          
          <!--近期文章版块 end-->

          
          
              <!-- 网站运行时间 -->
              <div id="days"></div>

<script language="javascript">
function show_date_time(){
window.setTimeout("show_date_time()", 1000);
BirthDay=new Date("03/15/2020 00:00:00");
today=new Date();
timeold=(today.getTime()-BirthDay.getTime());
sectimeold=timeold/1000
secondsold=Math.floor(sectimeold);
msPerDay=24*60*60*1000
e_daysold=timeold/msPerDay
daysold=Math.floor(e_daysold);
e_hrsold=(e_daysold-daysold)*24;
hrsold=setzero(Math.floor(e_hrsold));
e_minsold=(e_hrsold-hrsold)*60;
minsold=setzero(Math.floor((e_hrsold-hrsold)*60));
seconds=setzero(Math.floor((e_minsold-minsold)*60));
document.getElementById('days').innerHTML="已运行"+daysold+"天"+hrsold+"时"+minsold+"分"+seconds+"秒";
}
function setzero(i){
if (i<10)
{i="0" + i};
return i;
}
show_date_time();
</script>

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#Markdown中LaTeX常用语法"><span class="nav-text">Markdown中LaTeX常用语法</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#1-常用希腊字母表"><span class="nav-text">1 常用希腊字母表</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2-常用特殊字符表"><span class="nav-text">2 常用特殊字符表</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#其他"><span class="nav-text">其他</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#3-公式语法"><span class="nav-text">3 公式语法</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#编号"><span class="nav-text">编号</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#4-方程组"><span class="nav-text">4 方程组</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

      

      <!-- 标签云 -->
      <!--
      
      <script type="text/javascript" charset="utf-8" src="/js/tagcloud.js"></script>
      <script type="text/javascript" charset="utf-8" src="/js/tagcanvas.js"></script>
      <div class="widget-wrap">
      <h3 class="widget-title">Tag Cloud</h3>
      <div id="myCanvasContainer" class="widget tagcloud">
          <canvas width="250" height="250" id="resCanvas" style="width=100%">
              <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/AlexNet/">AlexNet</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/C/">C++</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Cauchy-问题/">Cauchy 问题</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Cohen-Sutherland/">Cohen-Sutherland</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/DES/">DES</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/FCN/">FCN</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/GoogLeNetV2/">GoogLeNetV2</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/GoogLeNetV3/">GoogLeNetV3</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/GoogleNetV1/">GoogleNetV1</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Hexo/">Hexo</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Hill/">Hill</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Liang-Barsky/">Liang-Barsky</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Markdown/">Markdown</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/NiN/">NiN</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Nodejs/">Nodejs</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/OpenGL/">OpenGL</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ResNetV1/">ResNetV1</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/VGG/">VGG</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/git/">git</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/git配置/">git配置</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/latex/">latex</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/matlab函数/">matlab函数</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/matlab绘图/">matlab绘图</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/texlive安装/">texlive安装</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/数据集/">数据集</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/热传导方程/">热传导方程</a><span class="tag-list-count">1</span></li></ul>
          </canvas>
      </div>
      </div>
      
      -->
      <!-- 标签云 -->

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="copyright">&copy; 2020 &mdash; <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
       <i class="fa fa-heartbeat"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">戈孔明</span>

  
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
    
    <span title="Site words total count">121.3k</span>
  
</div>

<!--









-->


        
<div class="busuanzi-count">
  <!--
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
  -->
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv">
      <i class="fa fa-user"></i>访问人数
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
      人次
    </span>
  

  
    <span class="site-pv">
      <i class="fa fa-eye"></i>总访问量
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
      次
    </span>
  
</div>








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
          <span id="scrollpercent"><span>0</span>%</span>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/jquery@2.1.3/dist/jquery.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/fastclick/1.0.6/fastclick.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/jquery.lazyload/1.9.3/jquery.lazyload.min.js"></script>
  

  
  
    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/velocity-animate@1.2.1/velocity.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/velocity-animate@1.2.1/velocity.ui.min.js"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  













  <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
  <script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
  <script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.min.js"></script>
  <script type="text/javascript">
        var gitalk = new Gitalk({
          clientID: '6a4708bb548d9ee47cfd',
          clientSecret: '29a20b874fd47e6c4d1229c036d5e37beeda813d',
          repo: 'gkm0120.github.io',
          owner: 'gkm0120',
          admin: ['gkm0120'],
          id: md5(window.location.pathname),
          distractionFreeMode: 'true'
        })
        gitalk.render('gitalk-container')
       </script>



  

  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url);
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'auto') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });
  </script>





  

  

  
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>


  
  
  
  <link rel="stylesheet" href="/lib/needsharebutton/needsharebutton.css">

  
  
  <script src="/lib/needsharebutton/needsharebutton.js"></script>

  <script>
    
    
  </script>

  

  
  
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        tex2jax: {
          inlineMath: [ ['$','$'], ["\\(","\\)"]  ],
          processEscapes: true,
          skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
        }
      });
    </script>

    <script type="text/x-mathjax-config">
      MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for (i=0; i < all.length; i += 1) {
          all[i].SourceElement().parentNode.className += ' has-jax';
        }
      });
    </script>
    <script type="text/javascript" src="//cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
  


  

  


  <!-- Tidio 在线联系功能、鼠标点击特效、页面反馈...-->
  


  










  <script src="/js/src/activate-power-mode.min.js"></script>
  <script>
    POWERMODE.colorful = true;
    POWERMODE.shake = false;
    document.body.addEventListener('input', POWERMODE);
  </script>



  <!-- 看板娘 -->
  <!--  -->

  <!-- 看板娘 -->
  <script async src="/live2d-widget/autoload.js"></script>

  
      <!-- aplayer音频播放 -->
      <link rel="stylesheet" href="/dist/APlayer.min.css">
      <div id="aplayer"></div>
      <script type="text/javascript" src="/dist/APlayer.min.js"></script>
      <script type="text/javascript" src="/dist/music.js"></script>
  

  <!-- 代码块复制功能 -->
  <script type="text/javascript" src="/js/src/clipboard.min.js"></script>
  <script type="text/javascript" src="/js/src/clipboard-use.js"></script>

  <!--share.js-->
  <link rel="stylesheet" href="/sharejs/css/share.min.css">
  <script src="/sharejs/js/social-share.min.js"></script>

  <!-- 模仿知乎卡片样式链接、崩溃欺骗特效 -->
  <!--<script type="text/javascript" src="/js/src/linkcard.js"></script>-->

  <!--崩溃欺骗 放在js文件最后-->
  <!--<script type="text/javascript" src="/js/src/crash_cheat.js"></script>-->



</body>
</html>
